9.3
CRITICAL CVSS 3.1
CVE-2020-15123
Codecov Command Injection Vulnerability
Description

In codecov (npm package) before version 3.7.1 the upload method has a command injection vulnerability. Clients of the codecov-node library are unlikely to be aware of this, so they might unwittingly write code that contains a vulnerability. A similar CVE (CVE-2020-7597 for GHSA-5q88-cjfq-g2mh) was issued but the fix was incomplete. It only blocked &, and command injection is still possible using backticks instead to bypass the sanitizer. The attack surface is low in this case. Particularly in the standard use of codecov, where the module is used directly in a build pipeline, not built against as a library in another application that may supply malicious input and perform command injection.

INFO

Published Date :

July 20, 2020, 6:15 p.m.

Last Modified :

Nov. 21, 2024, 5:04 a.m.

Remotely Exploit :

Yes !
Affected Products

The following products are affected by CVE-2020-15123 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Codecov codecov
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 2.0 MEDIUM [email protected]
CVSS 3.1 CRITICAL [email protected]
CVSS 3.1 CRITICAL [email protected]
Public PoC/Exploit Available at Github

CVE-2020-15123 has a 1 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

References to Advisories, Solutions, and Tools
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2020-15123 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

None

JavaScript

Updated: 4 years, 8 months ago
0 stars 0 fork 0 watcher
Born at : Dec. 1, 2020, 9:45 a.m. This repo has been linked 1 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2020-15123 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2020-15123 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    Nov. 21, 2024

    Action Type Old Value New Value
    Added Reference https://github.com/advisories/GHSA-5q88-cjfq-g2mh
    Added Reference https://github.com/codecov/codecov-node/commit/c0711c656686e902af2cd92d6aecc8074de4d83d
    Added Reference https://github.com/codecov/codecov-node/pull/180
    Added Reference https://github.com/codecov/codecov-node/security/advisories/GHSA-xp63-6vf5-xf3v
    Added Reference https://lgtm.com/query/7714424068617023832
  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • Initial Analysis by [email protected]

    Jul. 27, 2020

    Action Type Old Value New Value
    Added CVSS V2 Metadata Victim must voluntarily interact with attack mechanism
    Added CVSS V2 NIST (AV:N/AC:M/Au:N/C:P/I:P/A:P)
    Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N
    Changed Reference Type https://github.com/advisories/GHSA-5q88-cjfq-g2mh No Types Assigned https://github.com/advisories/GHSA-5q88-cjfq-g2mh Third Party Advisory
    Changed Reference Type https://github.com/codecov/codecov-node/commit/c0711c656686e902af2cd92d6aecc8074de4d83d No Types Assigned https://github.com/codecov/codecov-node/commit/c0711c656686e902af2cd92d6aecc8074de4d83d Patch, Third Party Advisory
    Changed Reference Type https://github.com/codecov/codecov-node/pull/180 No Types Assigned https://github.com/codecov/codecov-node/pull/180 Third Party Advisory
    Changed Reference Type https://github.com/codecov/codecov-node/security/advisories/GHSA-xp63-6vf5-xf3v No Types Assigned https://github.com/codecov/codecov-node/security/advisories/GHSA-xp63-6vf5-xf3v Third Party Advisory
    Changed Reference Type https://lgtm.com/query/7714424068617023832 No Types Assigned https://lgtm.com/query/7714424068617023832 Exploit, Third Party Advisory
    Added CWE NIST CWE-78
    Added CPE Configuration OR *cpe:2.3:a:codecov:codecov:*:*:*:*:*:node.js:*:* versions up to (excluding) 3.7.1
  • CVE Modified by [email protected]

    Jul. 20, 2020

    Action Type Old Value New Value
    Changed Description In codecov (npm package) before version 3.7.1 the upload method has a command injection vulnerability. Clients of the codecov-node library are unlikely to be aware of this, so they might unwittingly write code that contains a vulnerability. A similar CVE (CVE-2020-7597 for GHSA-5q88-cjfq-g2mh) was issued but the fix was incomplete. It only blocked &, and command injection is still possible using backticks instead to bypass the sanitizer. The attack surface is low in this case. Particularly in the standard use of codecov, where the module is used directly in a build pipeline, not built against as a library in another application that may supply malicious input and perform command injection. In codecov (npm package) before version 3.7.1 the upload method has a command injection vulnerability. Clients of the codecov-node library are unlikely to be aware of this, so they might unwittingly write code that contains a vulnerability. A similar CVE (CVE-2020-7597 for GHSA-5q88-cjfq-g2mh) was issued but the fix was incomplete. It only blocked &, and command injection is still possible using backticks instead to bypass the sanitizer. The attack surface is low in this case. Particularly in the standard use of codecov, where the module is used directly in a build pipeline, not built against as a library in another application that may supply malicious input and perform command injection.
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
Vulnerability Scoring Details
Base CVSS Score: 9.3
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality Impact
Integrity Impact
Availability Impact
Base CVSS Score: 6.8
Access Vector
Access Complexity
Authentication
Confidentiality Impact
Integrity Impact
Availability Impact
Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.15 }} -0.62%

score

0.36335

percentile